<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <!-- <script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script> -->
  <script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
</head>

<body>
  <div id = "app">

  </div>

  <button id="btnPost">发送post请求</button>
  <script>
    document.querySelector('#btnPost').addEventListener('calick',function(){
      axios({
        method:"post",
        url:"https://result.eolink.com/yeIPiLA9b4bf5cdb7381fe38284a05d44d0631cf253c095?uri=/getMsg",
        data:{
          // name:'zs',
          // age:20
        }
      }).then(res=>{
        console.log(res);
      })
    })
  </script>

  <!-- <script>
    const app = new Vue({
      el:"#app",
      data:{

      }
    })
  </script> -->
  </div>
</body>
</html>